package com.client.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.client.pojo.Comment;

@Mapper
public interface CommentMapper {
		//查询评论
	public List<Comment> selectCom(Integer postId);
	//插入评论
	public void   insertCom(@Param("username")String username,@Param("postId")Integer postId ,@Param("comment")String comment,@Param("date")Date date);
}
